﻿Public Class Progress

    Private Sub Progress_FormClosed(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed
        If Not Form1.finished = True Then
            Me.Show()
        End If
    End Sub

    Private Sub Progress_Leave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Leave
        Me.Focus()
    End Sub
End Class